package edu.spec.rxz.week09;
public class StringBuffer {
        public static void main(String[] args) {
            String s="abcdefgHIJKLMN";
            StringBuffer str=new StringBuffer();
            str.insert(2,"M");
            System.out.println(str);
            str.insert(3,"N");
            str.deletecharAt(11);
            System.out.println("deletecharAtBack="+str);
            str.replace(13,14,"MN");
            System.out.println("after replace:"+str)

        }

    }
